package com.lry.bean;

/**
 * @author 李瑞益
 * @date 2019/8/20
 */
public enum RoleEnum implements BaseEnum{

    GENERAL_USER(1, "普通用户"),
    VIP_USER(2, "VIP用户"),
    MANAGER_USER(3, "管理员");

    private int id;

    private String name;

    RoleEnum(int id, String name) {
        this.id = id;
        this.name = name;
    }

    @Override
    public int getId() {
        return id;
    }

    @Override
    public String getName() {
        return name;
    }
}
